package com.xoa.service.task;


import com.xoa.model.sysWords.SysWords;
import com.xoa.model.task.TaskFeedback;
import com.xoa.model.task.TaskManage;
import com.xoa.util.ToJson;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 *
 * @ClassName (类名):  TaskManageService
 * @Description(简述): 任务类型
 * @author(作者):      王禹萌
 * @date(日期):        2019-12-21
 */
@Service
public interface TaskManageService {
    public ToJson addTaskManage(HttpServletRequest request, TaskManage taskManage);
    public ToJson queryTaskManageByTaskId(HttpServletRequest request, int taskId);
    public ToJson updateTaskManage(HttpServletRequest request, TaskManage taskManage);
    public ToJson addTaskFeedback(HttpServletRequest request, TaskFeedback taskFeedback);
    public ToJson deleteTaskManage(HttpServletRequest request, int taskId);
    public ToJson queryTask(HttpServletRequest request,int typeId,TaskManage taskManage,int myTask,int implementation,String taskNameStr,String manageNameStr);
    public ToJson reportTask(HttpServletResponse response,HttpServletRequest request, Integer pageSize,
                             Integer page, Boolean useFlag, int temp,String userId,String deptId,int statisObject,String startDate,String endDate);
    public ToJson reportTaskType(HttpServletResponse response,HttpServletRequest request, Integer pageSize,
                                 Integer page, Boolean useFlag, String userId,int temp);
    public ToJson batchUrgeTask(HttpServletRequest request,String taskId,String urgeContent,String remind,String otherPeople,String reminder);
    public ToJson queryManageRole(HttpServletRequest request,String taskId);

}
